package net.sky.oa.dao.ioffice.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import net.sky.oa.dao.SkyBaseDaoImpl;
import net.sky.oa.dao.ioffice.OffNotepadDao;
import net.sky.oa.model.OffNotepad;

@SuppressWarnings("unchecked")
@Repository
public class OffNotepadDaoImpl extends SkyBaseDaoImpl<OffNotepad> implements OffNotepadDao{
    
	public OffNotepadDaoImpl(){
		super.setPersistType(OffNotepad.class);
	}
	
	public List<OffNotepad> findAllNotepad() {
        String hql="from OffNotepad pad";   
		return findByHql(hql);
	}

	
}
